Optimal. Leaf size=51 \[ -\frac {a x^2}{2 c^2}+\frac {x^6}{6 c}+\frac {a^{3/2} \tan ^{-1}\left (\frac {\sqrt {c} x^2}{\sqrt {a}}\right )}{2 c^{5/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 51, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 3, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.231, Rules used = {281, 308, 211}
\begin {gather*} \frac {a^{3/2} \text {ArcTan}\left (\frac {\sqrt {c} x^2}{\sqrt {a}}\right )}{2 c^{5/2}}-\frac {a x^2}{2 c^2}+\frac {x^6}{6 c} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 211
Rule 281
Rule 308
Rubi steps
\begin {align*} \int \frac {x^9}{a+c x^4} \, dx &=\frac {1}{2} \text {Subst}\left (\int \frac {x^4}{a+c x^2} \, dx,x,x^2\right )\\ &=\frac {1}{2} \text {Subst}\left (\int \left (-\frac {a}{c^2}+\frac {x^2}{c}+\frac {a^2}{c^2 \left (a+c x^2\right )}\right ) \, dx,x,x^2\right )\\ &=-\frac {a x^2}{2 c^2}+\frac {x^6}{6 c}+\frac {a^2 \text {Subst}\left (\int \frac {1}{a+c x^2} \, dx,x,x^2\right )}{2 c^2}\\ &=-\frac {a x^2}{2 c^2}+\frac {x^6}{6 c}+\frac {a^{3/2} \tan ^{-1}\left (\frac {\sqrt {c} x^2}{\sqrt {a}}\right )}{2 c^{5/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.02, size = 48, normalized size = 0.94 \begin {gather*} \frac {1}{6} \left (\frac {-3 a x^2+c x^6}{c^2}+\frac {3 a^{3/2} \tan ^{-1}\left (\frac {\sqrt {c} x^2}{\sqrt {a}}\right )}{c^{5/2}}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.16, size = 43, normalized size = 0.84
method | result | size |
default | \(-\frac {-\frac {1}{3} c \,x^{6}+a \,x^{2}}{2 c^{2}}+\frac {a^{2} \arctan \left (\frac {c \,x^{2}}{\sqrt {a c}}\right )}{2 c^{2} \sqrt {a c}}\) | \(43\) |
risch | \(\frac {x^{6}}{6 c}-\frac {a \,x^{2}}{2 c^{2}}+\frac {\sqrt {-a c}\, a \ln \left (c \,x^{2}+\sqrt {-a c}\right )}{4 c^{3}}-\frac {\sqrt {-a c}\, a \ln \left (c \,x^{2}-\sqrt {-a c}\right )}{4 c^{3}}\) | \(71\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.49, size = 42, normalized size = 0.82 \begin {gather*} \frac {a^{2} \arctan \left (\frac {c x^{2}}{\sqrt {a c}}\right )}{2 \, \sqrt {a c} c^{2}} + \frac {c x^{6} - 3 \, a x^{2}}{6 \, c^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.39, size = 107, normalized size = 2.10 \begin {gather*} \left [\frac {2 \, c x^{6} - 6 \, a x^{2} + 3 \, a \sqrt {-\frac {a}{c}} \log \left (\frac {c x^{4} + 2 \, c x^{2} \sqrt {-\frac {a}{c}} - a}{c x^{4} + a}\right )}{12 \, c^{2}}, \frac {c x^{6} - 3 \, a x^{2} + 3 \, a \sqrt {\frac {a}{c}} \arctan \left (\frac {c x^{2} \sqrt {\frac {a}{c}}}{a}\right )}{6 \, c^{2}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] Leaf count of result is larger than twice the leaf count of optimal. 87 vs.
\(2 (42) = 84\).
time = 0.09, size = 87, normalized size = 1.71 \begin {gather*} - \frac {a x^{2}}{2 c^{2}} - \frac {\sqrt {- \frac {a^{3}}{c^{5}}} \log {\left (x^{2} - \frac {c^{2} \sqrt {- \frac {a^{3}}{c^{5}}}}{a} \right )}}{4} + \frac {\sqrt {- \frac {a^{3}}{c^{5}}} \log {\left (x^{2} + \frac {c^{2} \sqrt {- \frac {a^{3}}{c^{5}}}}{a} \right )}}{4} + \frac {x^{6}}{6 c} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.57, size = 45, normalized size = 0.88 \begin {gather*} \frac {a^{2} \arctan \left (\frac {c x^{2}}{\sqrt {a c}}\right )}{2 \, \sqrt {a c} c^{2}} + \frac {c^{2} x^{6} - 3 \, a c x^{2}}{6 \, c^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.09, size = 37, normalized size = 0.73 \begin {gather*} \frac {x^6}{6\,c}-\frac {a\,x^2}{2\,c^2}+\frac {a^{3/2}\,\mathrm {atan}\left (\frac {\sqrt {c}\,x^2}{\sqrt {a}}\right )}{2\,c^{5/2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________